package com.ln.asset.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ln.asset.core.pojo.Transformation;
import com.ln.asset.core.pojo.vo.TransforDetailsVO;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qiaoyanru
 * @since 2022-04-27
 */
@Mapper
public interface TransformationMapper extends BaseMapper<Transformation> {
    //根据转移资产id查询资产信息
    List<TransforDetailsVO> selectAssetByTransid(Integer id);
    //添加中间表
    void applyTransforZhong(@Param("transfor_id")Integer tId, @Param("list")List<Integer> list);
}
